import form_submit from '../../mixins/form_submit'
Page({
  /**
   * 上传图片
   * @author wl
   */
  mixins: [form_submit],
  onLoad: function (options) {
    let media = JSON.parse(options.data)
    this.setData({ 
      code: media.code,
      imgModel: media.imgModel
    })
  }
})